package com.toubutu.audio.admin.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 
 * </p>
 *
 * @author 戒燥
 * @since 2023-09-30
 */
@Getter
@Setter
@ApiModel(value = "Role对象", description = "")
public class Role implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("角色id")
    @TableId(value = "role_id", type = IdType.AUTO)
    private Integer roleId;

    @ApiModelProperty("角色名称")
    private String roleName;
    @ApiModelProperty("角色标识")
    private String roleTag;
    @ApiModelProperty("角色状态 0禁用 1启用")
    private Integer roleStatus;

    @ApiModelProperty("角色描述")
    private String roleDesc;

    @ApiModelProperty("是否删除 0否 1是")
    private Integer isDelete;

    @ApiModelProperty("是否启用 0否 1是")
    private Integer isEnable;

    @ApiModelProperty("创建时间")
    private LocalDateTime createTime;

    @ApiModelProperty("最近更新时间")
    private LocalDateTime updateTime;


}
